import React, { Component } from 'react';
import { View } from 'react-native';
import {
  Text,
  StyleSheet
} from 'react-native';

import Swiper from '../common/Swiper'
import Picture from '../picture'
import Read from '../read'
import Music from '../music'


export default class HomeRoute extends Component {
  constructor() {
    super();
  }
  route(index) {
    this.swipe.setPage(index);
  }
  render() {
    return (
      <Swiper
        scrollEnabled={false}
        ref={(swipe) => { this.swipe = swipe }}
      >
        <View>
          <Picture navigator={this.props.navigator} />

        </View>
      </Swiper>
    )
  }
}